package edu.sias.hyzn.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class DiseaseStatQuery {
    @NotNull
    @Pattern(regexp = "gender|age|city",
            message = "分组条件必须是gender/age/city")
    private String groupBy;
}
